package com.david.trade.clear.component;

import com.david.trade.clear.service.TcpMessage;

public class TcpMessageEvent {

    private TcpMessage tcpMessage;

    public void set(TcpMessage tcpMessage) {
        this.tcpMessage = tcpMessage;
    }

    public TcpMessage get() {
        return this.tcpMessage;
    }

    @Override
    public String toString() {
        return "TcpMessageEvent{" +
                "tcpMessage=" + tcpMessage.toString() +
                '}';
    }
}
